package com.zn.mapper;

import com.zn.entity.AppInformationType;
import com.zn.web.dto.AppCustomerDto;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface AppInformationTypeMapper {
    int deleteByPrimaryKey(String informationTypeId);

    int insert(AppInformationType record);

    int insertSelective(AppInformationType record);

    AppInformationType selectByPrimaryKey(String informationTypeId);

    int updateByPrimaryKeySelective(AppInformationType record);

    int updateByPrimaryKey(AppInformationType record);

    /**
     * 排序号正序和修改时间倒叙，查询所有有效的文章类型
     * @return
     */
    List<AppInformationType> findEffectiveAll();
}